/* =========================================================
   PIISTECH – Services page (new.made-in-bd.com/services)
   Everything is scoped to .pt-page so it never clashes with
   the site header/footer or Bootstrap (.container, .btn, .small).
   Icons use the site's Font Awesome 6 via CSS, because the CMS
   editor strips <svg>, <script> and empty <i> tags.
   ========================================================= */

/* Fonts load here because the CMS editor drops <link> tags. Without this every
   computer falls back to its own default font, so text wraps differently per laptop. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@700;800&display=swap");

.pt-page {
  --navy: #0b1733;
  --navy2: #112348;
  --blue: #2764e7;
  --blue2: #eaf1ff;
  --green: #0e9881;
  --green2: #e5f8f5;
  --violet: #7855d5;
  --violet2: #f0ebff;
  --orange: #e0702a;
  --orange2: #fff1e6;
  --muted: #64748b;
  --ink: #18233c;
  --bg: #f5f8fc;
  --line: #e5ebf3;
  --shadow: 0 14px 45px rgba(19, 42, 77, .08);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  overflow-x: clip;
}

/* Let the page run edge to edge inside the CMS wrapper */
.cms-content-wrapper:has(.pt-page) {
  max-width: none;
  width: 100%;
  padding: 0;
}

.cms-content-wrapper:has(.pt-page) main,
.cms-page-content:has(.pt-page) {
  padding: 0 !important;
  margin: 0 !important;
}

/* Browsers without :has() (e.g. Firefox before v121, still common on older Windows PCs)
   skip the rules above and show the page boxed with white margins. This file is only
   loaded on the Services page, so for them the same reset is applied without :has().
   .container.cms-content-wrapper is needed to outrank Bootstrap's .container widths. */
@supports not selector(:has(*)) {
  .container.cms-content-wrapper {
    max-width: none;
    width: 100%;
    padding: 0;
  }

  .cms-content-wrapper main,
  .cms-page-content {
    padding: 0 !important;
    margin: 0 !important;
  }
}

html {
  scroll-behavior: smooth;
}

.pt-page *,
.pt-page *::before,
.pt-page *::after {
  box-sizing: border-box;
}

.pt-page h1, .pt-page h2, .pt-page h3, .pt-page p {
  margin-top: 0;
}

.pt-page h1, .pt-page h2, .pt-page h3 {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.035em;
  color: inherit;
}

.pt-page a {
  text-decoration: none;
  color: inherit;
}

.pt-page img {
  max-width: 100%;
}

/* Same box as the site header (.mib-wrap), so the content lines up with the logo on
   the left and the Contact Us button on the right on every screen size. */
.pt-wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

/* ---------- Font Awesome icon helper ---------- */
.pt-page [class*="pt-ic-"] {
  font-size: 0;
  line-height: 0;
}

.pt-page [class*="pt-ic-"]::before {
  content: var(--ic);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  line-height: 1;
}

.pt-ic-code     { --ic: "\f121"; }
.pt-ic-erp      { --ic: "\f542"; }
.pt-ic-mobile   { --ic: "\f3cd"; }
.pt-ic-design   { --ic: "\f53f"; }
.pt-ic-qa       { --ic: "\f46c"; }
.pt-ic-support  { --ic: "\f7d9"; }
.pt-ic-server   { --ic: "\f233"; }
.pt-ic-pos      { --ic: "\f788"; }
.pt-ic-school   { --ic: "\f549"; }
.pt-ic-restaurant { --ic: "\f2e7"; }
.pt-ic-edu      { --ic: "\f19d"; }
.pt-ic-cart     { --ic: "\f07a"; }
.pt-ic-delivery { --ic: "\f48b"; }
.pt-ic-energy   { --ic: "\f0e7"; }
.pt-ic-finance  { --ic: "\f19c"; }
.pt-ic-health   { --ic: "\f21e"; }
.pt-ic-media    { --ic: "\f008"; }
.pt-ic-retail   { --ic: "\f54e"; }
.pt-ic-sports   { --ic: "\f1e3"; }
.pt-ic-travel   { --ic: "\f072"; }
.pt-ic-award    { --ic: "\f559"; }
.pt-ic-phone    { --ic: "\f095"; }
.pt-ic-mail     { --ic: "\f0e0"; }

/* ---------- Shared bits ---------- */
.pt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.7px;
}

.pt-eyebrow::before {
  content: '';
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: currentColor;
}

.pt-section {
  padding: 100px 0;
}

.pt-title {
  font-size: clamp(30px, 3vw, 42px);
  max-width: 730px;
  margin: 14px 0;
}

.pt-lead {
  color: var(--muted);
  max-width: 690px;
  font-size: 16px;
}

.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}

.pt-btn:hover {
  transform: translateY(-2px);
}

.pt-page .pt-btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(39, 100, 231, .22);
}

.pt-page .pt-btn-primary:hover {
  background: #1f55cc;
  color: #fff;
}

.pt-page .pt-btn-outline {
  border-color: #cbd5e1;
  background: #fff;
  color: var(--navy);
}

.pt-page .pt-btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pt-page .pt-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #607292;
}

.pt-page .pt-btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.pt-page .pt-btn-white {
  background: #fff;
  color: var(--navy);
  flex-shrink: 0;
}

.pt-arrow {
  font-size: 18px;
  line-height: 1;
}

/* ---------- Hero ---------- */
.pt-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #07132c 0%, #102653 66%, #173a73 100%);
  color: #fff;
  padding: 96px 0 108px;
}

.pt-hero::before {
  content: '';
  position: absolute;
  width: 670px;
  height: 670px;
  border: 1px solid #ffffff17;
  border-radius: 50%;
  right: -210px;
  top: -190px;
  box-shadow: 0 0 0 110px #ffffff05, 0 0 0 220px #ffffff04;
}

.pt-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 55px;
  align-items: center;
}

.pt-hero .pt-eyebrow {
  color: #9ebfff;
}

.pt-hero h1 {
  font-size: clamp(40px, 4.7vw, 62px);
  margin: 20px 0;
  letter-spacing: -.05em;
  color: #fff;
}

.pt-hero h1 span {
  color: #8eb8ff;
}

.pt-hero-lead {
  color: #c2d0e8;
  max-width: 570px;
  font-size: 17px;
}

.pt-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 31px 0 41px;
}

.pt-hero-facts {
  display: flex;
  gap: 29px;
  flex-wrap: wrap;
}

.pt-hero-facts div {
  border-left: 2px solid #6ca3ff;
  padding-left: 14px;
}

.pt-hero-facts strong {
  display: block;
  font-size: 17px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

.pt-hero-facts span {
  display: block;
  font-size: 12px;
  color: #adc0da;
}

.pt-dashboard {
  border: 1px solid #ffffff2c;
  background: #ffffff12;
  backdrop-filter: blur(7px);
  padding: 17px;
  border-radius: 21px;
  box-shadow: 0 30px 80px #02091566;
}

.pt-dash-head {
  height: 24px;
  font-size: 0;
  position: relative;
}

.pt-dash-head::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7b72aa;
  box-shadow: 15px 0 #ffd36aaa, 30px 0 #5fd49aaa;
}

.pt-dash-content {
  background: #fff;
  border-radius: 13px;
  padding: 25px;
  color: var(--navy);
}

.pt-dash-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
}

.pt-dash-content h3 {
  font-size: 20px;
  margin: 4px 0 19px;
}

.pt-dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pt-dash-tile {
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 10px;
}

.pt-dash-tile .pt-ic::before {
  display: inline-block;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 12px;
}

.pt-dash-tile strong {
  display: block;
  font-size: 13px;
}

.pt-dash-tile span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.pt-dash-bottom {
  margin-top: 14px;
  background: #eff5ff;
  border-radius: 10px;
  padding: 12px 15px;
  color: #2f548b;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Core services ---------- */
.pt-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.pt-service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 30px 27px;
  transition: .22s;
}

.pt-service-card:hover,
.pt-product-card:hover {
  border-color: #b3c8f9;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pt-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.pt-icon {
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--blue2);
  color: var(--blue);
  width: 55px;
  height: 55px;
  transition: .22s;
}

.pt-icon::before {
  font-size: 23px;
}

.pt-service-card:hover .pt-icon {
  background: var(--blue);
  color: #fff;
}

.pt-card-num {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #c3cfe0;
}

.pt-service-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.pt-service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 19px;
  flex: 1;
}

.pt-page .pt-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
}

.pt-page .pt-link:hover {
  text-decoration: underline;
}

.pt-more {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--bg);
}

.pt-more-label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--navy);
}

.pt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pt-page .pt-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #3b4c66;
  transition: .2s;
}

.pt-page .pt-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ---------- Hosting ---------- */
.pt-hosting {
  background: var(--bg);
}

.pt-hosting-layout {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 70px;
  align-items: center;
}

.pt-hosting-visual {
  position: relative;
  background: linear-gradient(145deg, #d9e7ff, #eef4ff);
  min-height: 340px;
  border-radius: 26px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pt-server-stack {
  width: 270px;
  max-width: 100%;
  display: grid;
  gap: 13px;
}

.pt-server-unit {
  height: 66px;
  font-size: 0;
  background: #fff;
  border: 1px solid #cadaf0;
  border-radius: 13px;
  box-shadow: 0 12px 20px #23497816;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}

.pt-server-unit::before {
  content: '';
  width: 12px;
  height: 12px;
  background: #36c59b;
  border-radius: 50%;
  box-shadow: 21px 0 #95acd2;
}

.pt-server-unit::after {
  content: '';
  margin-left: auto;
  width: 74px;
  height: 10px;
  background: #e2eaf6;
  border-radius: 5px;
}

.pt-price-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  text-align: center;
  box-shadow: 0 14px 30px #0b173340;
}

.pt-price-badge span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #a9bddd;
}

.pt-price-badge strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  line-height: 1.3;
}

.pt-price {
  font-size: 38px;
  font-weight: 800;
  font-family: Manrope, sans-serif;
  margin: 18px 0 0;
  letter-spacing: -.045em;
  color: var(--navy);
}

.pt-price span {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.pt-check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  color: #4d5f78;
  font-size: 14px;
}

.pt-check-list li {
  margin: 9px 0;
}

.pt-check-list li::before {
  content: '\f00c';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: var(--blue);
  margin-right: 12px;
}

/* ---------- Ready software ---------- */
.pt-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
}

.pt-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 43px;
}

.pt-product-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  transition: .22s;
}

.pt-product-card h3 {
  font-size: 17px;
  margin: 8px 0 6px;
}

.pt-product-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.pt-product-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(130deg, #e3edff, #f3f7ff);
  color: var(--blue);
}

.pt-product-icon::before {
  font-size: 26px;
}

.pt-product-icon.pt-green  { background: linear-gradient(130deg, #dcf5f0, #f0fbf8); color: var(--green); }
.pt-product-icon.pt-violet { background: linear-gradient(130deg, #ebe4ff, #f8f6ff); color: var(--violet); }
.pt-product-icon.pt-orange { background: linear-gradient(130deg, #ffe9d9, #fff7f0); color: var(--orange); }

.pt-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: #2756a2;
  background: var(--blue2);
  padding: 3px 9px;
  border-radius: 99px;
}

/* ---------- Industries ---------- */
.pt-industries {
  background: var(--navy);
  color: #fff;
}

.pt-industries .pt-eyebrow {
  color: #9ebfff;
}

.pt-industries .pt-title {
  color: #fff;
}

.pt-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.pt-page .pt-industry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #ffffff1f;
  border-radius: 13px;
  background: #ffffff0a;
  font-weight: 700;
  font-size: 15px;
  color: #e6edf8;
  transition: .2s;
}

.pt-page .pt-industry:hover {
  background: #ffffff16;
  border-color: #8eb8ff80;
  color: #fff;
}

.pt-ind-ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2764e733;
  color: #8eb8ff;
}

.pt-ind-ic::before {
  font-size: 17px;
}

/* ---------- Why ---------- */
.pt-why {
  background: var(--bg);
}

.pt-why-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 65px;
  align-items: start;
}

.pt-awards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
}

.pt-page .pt-award {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.pt-page .pt-award:hover {
  color: var(--blue);
}

.pt-award-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff4dc;
  color: #d69200;
}

.pt-award-ic::before {
  font-size: 15px;
}

.pt-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 19px;
}

.pt-benefit {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
}

.pt-benefit strong {
  display: block;
  margin: 10px 0;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 17px;
}

.pt-benefit p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.pt-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
}

/* ---------- Clients ---------- */
.pt-clients {
  text-align: center;
}

.pt-clients .pt-title,
.pt-clients .pt-lead {
  margin-left: auto;
  margin-right: auto;
}

.pt-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 40px 0 36px;
}

.pt-logo {
  position: relative;
  display: grid;
  place-items: center;
  height: 96px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s, border-color .3s;
}

.pt-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.pt-logo:hover {
  z-index: 2;
  border-color: #b3c8f9;
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 22px 45px rgba(19, 42, 77, .16);
}

.pt-logo:hover img {
  transform: scale(1.08);
}

/* ---------- CTA ---------- */
.pt-cta {
  background: linear-gradient(120deg, #0b1c3e, #15336b);
  color: #fff;
  padding: 72px 0;
}

.pt-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.pt-cta .pt-eyebrow {
  color: #9cbbff;
}

.pt-cta h2 {
  font-size: clamp(27px, 3.1vw, 40px);
  margin: 9px 0;
  color: #fff;
}

.pt-cta p {
  color: #b5c7e5;
  max-width: 620px;
  margin-bottom: 18px;
}

.pt-cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.pt-page .pt-cta-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #dfe8f7;
}

.pt-page .pt-cta-contacts a:hover {
  color: #fff;
}

.pt-cta-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff1a;
  color: #9cbbff;
}

.pt-cta-ic::before {
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pt-hero-grid { gap: 30px; }
  .pt-section { padding: 75px 0; }
  .pt-product-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-logo-grid { grid-template-columns: repeat(4, 1fr); }
  .pt-more { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 780px) {
  .pt-hero { padding: 72px 0; }
  .pt-hero-grid, .pt-hosting-layout, .pt-why-grid { grid-template-columns: 1fr; }
  .pt-hero-grid { gap: 40px; }
  .pt-service-grid, .pt-industry-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-hosting-layout { gap: 30px; }
  .pt-why-grid { gap: 36px; }
  .pt-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .pt-cta-inner { align-items: flex-start; flex-direction: column; }
  .pt-heading-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .pt-section { padding: 60px 0; }
  .pt-hero h1 { font-size: 36px; }
  .pt-hero-lead { font-size: 15px; }
  .pt-hero-facts { gap: 18px; }
  .pt-hero-facts strong { font-size: 15px; }
  .pt-dash-content { padding: 18px; }
  .pt-service-grid, .pt-product-grid, .pt-benefits, .pt-industry-grid { grid-template-columns: 1fr; }
  .pt-service-card { padding: 24px; }
  .pt-hosting-visual { min-height: 260px; }
  .pt-price { font-size: 32px; }
  .pt-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-cta { padding: 56px 0; }
}
